import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
* 获取 OrrBusinessDurationEfficiency 分页列表
*/
export function getOrrBusinessDurationEfficiencyPagination(data: any) {
    return axios.get(`${context}/orrBusinessDurationEfficiency/pagination`, { params: data });
}


/**
* 获取 OrrBusinessDurationEfficiency 所有数据
*/
export function getOrrBusinessDurationEfficiencyAllList(data: any) {
    return axios.get(`${context}/orrBusinessDurationEfficiency/allList`, { params: data });
}


/**
* 获取 OrrBusinessDurationEfficiency 详情
*/
export function getOrrBusinessDurationEfficiencyDetailById(id: any) {
    return axios.get(`${context}/orrBusinessDurationEfficiency/${id}`, { params:{id} });
}


/**
* 新增 OrrBusinessDurationEfficiency
*/
export function addOrrBusinessDurationEfficiency(data: any) {
    return axios.post(`${context}/orrBusinessDurationEfficiency`, data);
}

/**
* 修改 OrrBusinessDurationEfficiency
*/
export function updateOrrBusinessDurationEfficiency(data: any) {
    return axios.put(`${context}/orrBusinessDurationEfficiency`, data);
}

/**
* 删除 OrrBusinessDurationEfficiency
*/
export function batchRemoveOrrBusinessDurationEfficiency(data: any) {
        return axios.post(`${context}/orrBusinessDurationEfficiency/batchRemove`, data);
}
